@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=DotGothic16&family=Kaisei+Opti:wght@700&family=Klee+One:wght@600&family=Kosugi+Maru&family=M+PLUS+Rounded+1c:wght@400;500&family=Mochiy+Pop+One&family=Mochiy+Pop+P+One&family=Nabla&family=Pixelify+Sans:wght@500&family=Potta+One&family=Press+Start+2P&family=Shippori+Antique&family=Silkscreen&family=VT323&family=Zen+Maru+Gothic:wght@500&display=swap');
.html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
	display: flex;
	flex-direction: column; /* 将页面内容以列的方式排列 */
	justify-content: flex-start; /* 调整内容的垂直对齐方式 */
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

  
  /* 设置页面的最小高度 */
body {
	min-height: 100vh;
}
  

address, article, aside, div, footer, header, hgroup, main, nav, section {
  display: block;
  
}



@keyframes jump {
    0% {
        top: 200px;
    }

    20% {
        border-radius: 2px;
        /*從 20% 的地方才開始變形*/
    }

    50% {
        top: 250px;
        border-bottom-right-radius: 25px;
    }

    80% {
        border-radius: 2px;
        /*到 80% 的地方恢復原狀*/
    }

    100% {
        top: 200px;
    }
}
*{
    margin: o;
    padding: 0;
    box-sizing: border-box;
}
header{
	width: 100%;
	height: 100vh;
	background-image:url(images/retro.png) ;
	background-color:rgb(180.84635585546494, 191.31640523672104, 228.4374949336052, 1);
	background-size: cover;
	background-position: bottom;
	display: flex;
	align-items: center;
	padding-top: 5rem;

}
@media screen and (min-width:768px) {
	.topic1 {
		height: 750px;
	  }
}

/* 主題一圖片 */
.topic1image {
    width: 50%;
    height: 100vh;
    position: relative;
    background-image: url(images/topic1image.GIF);
    background-repeat: no-repeat;
    background-size: cover;
	z-index: 1;
}
.topic1-1 { 
	background-color:rgba(255, 233.57991099357605, 178.49999696016312, 1);
	width:100%;
	max-height:300px;
	position: relative;
}

.header-content{
	width: 50%;
	margin-bottom: 150px;
	color: #cfe3fc;
	text-align: center;
	display: flex;
	flex-direction: column;
	position: relative;
	
	
}

/* 主圖一文字*/
.header-content h2 {
    color: rgb(49, 50, 51);
    min-width: 5rem;
    max-width: rem;
    height: 56px;
    position: relative;
    /* text-align: left; */
    text-shadow: 3px 0px 2px #fbf5f5;
    font-size: 40px;
    /* letter-spacing: 0; */
    font-family: 'DotGothic16', sans-serif;
    animation: jump 1s ease-out infinite;
    margin-bottom: 0;
}
.header-content h1 {
    font-size: 120px;
    margin-top: 0;
    margin-bottom: 2rem;
    color: rgb(65, 42, 133);
    min-width: 3rem;
    position: relative;
    font-family: 'DotGothic16';
    text-shadow: 3px 0px 2px #fbf5f5;
    font-size: 99px;
    letter-spacing: 0;
    font-weight: 500;
    animation: jump 1s ease-out infinite;
}
@media screen and (max-width:700) {
	.header-content h2 {
		font-size: 35px;
	}
	.header-content h1 {
		font-size: 89px;
	}
	
}

.menu {
  position: fixed;
  width: 100%;
  background: #1adcd2;
  color: honeydew;
  transition: 0.7s all;
  z-index: 100;
  font-family: 'DotGothic16';
  box-shadow: rgba(0, 0, 0, 0.023) 0 5px 12px;
}
.navbar {
  padding: 20px;
  float: right;   
}
.menu ul li {
  margin: 0px 10px;
  display: inline-block;
}
.menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  display: inline-block;
  transition: 0.3s all;
  font-weight: 400;
  
}
.menu ul li a:hover{
	color: #ffae34;
	border-bottom: 1px solid #8957a8;
	text-shadow: #fff0dd 0 1px 20px;
}

.logo {
    color: #1b1f79;
    text-decoration: none;
    display: inline-block;
    padding: 30px 50px;
    font-size: 40px;
    font-weight: 700;
    font-family: "Press Start 2P";
}
.logo img {
  width: 50px;
  margin-left: 2px;
  z-index: 3;
 
}
.logo span{
	font-size: 30px;
	font-family: "Kosugi Maru";
	color: #8957a8;
}
 
/* 整個畫面 */

@keyframes circle-in-hesitate {
	0% {
	  clip-path: circle(0%);
	}
	40% {
	  clip-path: circle(40%);
	}
	100% {
	  clip-path: circle(125%);
	}
}




/* 主題二 */
.topic2{ 
	background-image:linear-gradient(0deg, rgb(247, 164, 158) 0%,rgba(148, 244, 239, 1) 50%,rgba(255, 234.00000125169754, 178.00000458955765, 1) 100%) ;	width:100%;
	height: 100vh;
	position:relative;
	display: flex;
	align-content: center;
	justify-content: center;
	padding: 20px;
}
/* 主題二框 */
.topic2product { 
	background: white;
	box-shadow: 0 0 8px #fbf5f5;
	border-radius: 20px;
	width: 80%;
	height:30rem;
	position: absolute;
	background-repeat:no-repeat;
	background-size:cover;
	display: flex;
	margin-top: 10rem;
}
/* 主題二左欄圖片框 */
.left-column{
	width: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.left-column a{
	margin-left: 3rem;
	margin-bottom: 3rem;
	margin-top: 3rem;
	font-size: 30px;
	text-align: left;
	font-family: 'DotGothic16';
	color: #9e3353;
}
/* 主題二左欄圖片 */
.topic2product .left-column img {
	width: 100%;
	transition: 0.3s ease;
	object-fit: contain;
	
}
.topic2product .left-column img:hover{
	transform:scale(1.1,1.1);
}



/* 主題二右欄圖片框 */
.right-column{
	width: 50%;
	left: 680px;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* 主題二右欄標題 */
.product-name{
	transition: 0.3s ease;
	border-left: #ffae34 2px dashed;

}
/* 主題二右欄文字 */
.right-column P , .right-column h4, .right-column h3 , .right-column h1 {
    width: 100%;
    padding: 0 30px;
    font-family: "Shippori Antique";
	line-height: 1.5;
	color: #6D7278;
}
.right-column p{
	font-size: 1rem;
}
.right-column h4{
	font-size: 1.2rem;
	color: #484d53;
}
.right-column h3{
	font-size: 1.5rem;
	color: #1d854d;
}
.right-column h1{
	font-size: 2rem;
	color: #6c50a8;
}

	
/* 主題三背景 */
.topic3 {
    background-image: url(./images/image3.PNG);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(243.00000071525574, 172.00000494718552, 170.0000050663948, 1);
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30rem;
}

/* 主題三標題 */
.topic3title {
    width: 100%;
	min-width: 40px;
	max-height: 60px;
    color: rgb(101, 56, 56);
    position: relative;
    font-family: 'DotGothic16';
    font-size: 64px;
    letter-spacing: 0;
    margin-left: 0rem;
    top: -3rem;
}
.wrapper {
    display: flex;
    max-width: 1200px;
    position: relative;
    top: -1rem;
    left: -5rem;
    min-width: 1000px;
}
.wrapper i {
    top: 50%;
    height: 44px;
    width: 44px;
    color: #343F4F;
    cursor: pointer;
    font-size: 1.15rem;
    position: absolute;
    text-align: center;
    line-height: 44px;
    background: #bd3a3a;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: transform 0.1s linear;
}
.wrapper i:active{
	transform: translateY(-50%) scale(0.9);
}
.wrapper i:hover{
	background: #a52e2e;
}
.wrapper i:first-child{
	left: -22px;
	display: none;
}
.wrapper i:last-child{
	right: -22px;
}
.wrapper .carousel{
	font-size: 0px;
	cursor: pointer;
	overflow: hidden;
	white-space: nowrap;
	scroll-behavior: smooth;
}
.carousel.dragging{
	cursor: grab;
	scroll-behavior: auto;
}
.carousel.dragging img{
	pointer-events: none;
}
.carousel img {
    height: 90%;
    object-fit: contain;
    -webkit-user-select: none;
    margin-left: 14px;
    width: calc(100% / 3);
	border-radius: 60px;
}
.carousel img:first-child{
	margin-left: 0px;
}
@media screen and (min-width:2500px) {

	.topic5{
		height: 120vh;
	}
}

@media screen and (min-width:2000px) {

	.topic5{
		height: 120vh;
	}
	.wrapper{
		display: flex;
		max-width: 1200px;
		position: relative;
		min-width: 1000px;
		left: -21rem;
		top: 6rem;

	}
	.topic3title{
		top: 3rem;
		font-size: 30px;
	}
}
@media screen and (max-width: 1920px) {
	.wrapper{
		display: flex;
		max-width: 1200px;
		position: relative;
		min-width: 1000px;
		left: -11rem;

	}
	.topic3title{
		margin-left:10rem;
	}

	#title2 {
		font-size: 50px;
		min-width: 4rem;
	}
	.header-content h1{
		font-size: 97px;
	}
	
}


@media screen and (max-width: 1600px) {
	.wrapper{
		display: flex;
		max-width: 1200px;
		position: relative;
		min-width: 1000px;
		left: -7rem;

	}
	.topic3title{
		margin-left:0rem;
	}
}
@media screen and (max-width: 1400px) {
	.wrapper{
		display: flex;
		max-width: 1200px;
		position: relative;
		min-width: 1000px;
		left: 3rem;
	}
	.header-content h1{
		font-size: 88px;
	}
	
}
@media screen and (max-width: 1300px) {
	
	.wrapper{
		display: flex;
		max-width: 1200px;
		position: relative;
		min-width: 1000px;
		left: -1rem;
	}
	.topic3title{
		width: 400px;
	}
	.header-content h1{
		font-size: 88px;
	}
}

@media screen and (max-width: 1280px) {
	
	.wrapper{
		display: flex;
		max-width: 1200px;
		position: relative;
		min-width: 800px;
		left: -6rem;
		top: -5rem;

	}
	.topic3title{
		width: 400px;
		left: -6rem;
		top: -5rem;
	}
	.topic3{
		background-size: contain;
	}
}
@media screen and (max-width: 1200px) {
	.topic1image{
		width: 50%;
		height: 90%;
	}
	#title{
		font-size: 60px;
		
	}
	#title2{
		font-size: 30px;

	}
	.wrapper{
		display: flex;
		max-width: 1200px;
		position: relative;
		min-width: 600px;
		left: -6rem;
		top: -13rem;

	}
	.topic3title{
		width: 400px;
		left: -4rem;
		top: -13rem;
		font-size: 45px;
	}
	.topic3{
		background-size: contain;
	}

}
@media screen and (max-width: 550px) {
	.carousel img{
	  width: 100%;
	}
}
.carousel img:hover{transform:scale(1.1,1.1);}
 

/* 主題四背景 */
.topic4{ 
	width: 100%;
	position: relative;
	background: linear-gradient(42deg, rgba(148,178,217,1) 0%, rgba(129,234,236,0.6180847338935574) 35%, rgba(239,210,210,0.7973564425770308) 60%, rgba(212,138,134,1) 100%);
	height: 2900px;
	display: grid;
    grid-template-rows: 0fr 0.3fr 0.3fr;
	justify-content: center;
}
/* 主題四動物單元卡片 */
.video-card1{
	box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);
	background-color:rgba(255, 252.87500202655792, 252.87500202655792, 1);
	width:868px;
	height:430px;
	border-top-left-radius:56px;
	border-top-right-radius:56px;
	border-bottom-left-radius:56px;
	border-bottom-right-radius:56px;

}
.overview p {
	font-family: 'DotGothic16';
    color: #ffffff;
    display: inline-block;
    margin-top: 50px;
    transition: 0.1s ease-in-out;
    transition-delay: 0.3s;
    opacity: 0;
    left: 50%;
    position: absolute;
    top: 35rem;

}
.video-card1:hover .overview p {
	opacity: 1;
	color: #d4602b;
	font-family: 'DotGothic16';

  }

.video-card1:hover{
	background: #fff0dd;
	color: #fff;
	

}
.video-card2:hover .overview p {
	opacity: 1;
	color: #33379e;
	top: 68rem;
	font-family: 'DotGothic16';

  }

.video-card2:hover{
	background: #d9eeff;
	color: #fff;
	
	

}
.video-card3:hover .overview p {
	opacity: 1;
	color: #1e5a23;
	top: 100rem;
	font-family: 'DotGothic16';

  }


.video-card3:hover{
	background: #d4f0d7;
	color: #fff;
	

}

/* 主題四主單元標題 */
.topic4 h1 { 
	color:rgba(255, 255, 255, 1);
	height: 10rem;
	font-family:"DotGothic16";
	text-align:left;
	font-size:80px;
	letter-spacing:0;
	margin-top: 80px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
}
/* 主題四動物單元標題 */
.animaltext1 { 
	color: rgba(208.24999898672104, 91.16777077317238, 88.50624918937683, 1);
	width: 115px;
	height: 66px;
	left: 50%;
	position: absolute;
	font-family:'DotGothic16';
	text-align: left;
	font-size: 48px;
	letter-spacing: 0;
	padding: 5rem 0;
}
/* 主題四動物單元內文 */
.animaltext2 { 
	color: rgba(0, 0, 0, 1);
	width: 24rem;
	padding: 3rem 0;
	height: 122px;
	position: absolute;
	left: 50%;
	top: 22rem;
	font-family:"M PLUS Rounded 1c";
	text-align: left;
	font-size: 16px;
	letter-spacing: 0;
}
/* 主題四動物單元圖片框 */
.animal-image { 
	width: 40%;
	height: 430px;
	position:absolute;
	margin: 0 20px;

}
.animal-image:hover{transform:scale(1.1,1.1);}
/* 主題四動物單元圖片 */
.animal-image  img { 
	width: 100%;
	max-width: 400px;
	max-height: 430px;
	object-fit: contain;

}
/* 主題四交通單元框 */
.video-card2{
	box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);
	background-color:rgba(255, 252.87500202655792, 252.87500202655792, 1);
	width:868px;
	height:430px;
	border-top-left-radius:56px;
	border-top-right-radius:56px;
	border-bottom-left-radius:56px;
	border-bottom-right-radius:56px;
}


/* 主題四交通工具單元圖片框 */
.transprotation-image { 
	width: 40%;
	height: 430px;
	position:absolute;
	margin: 0 20px;
	padding: 60px 0;

}
.transprotation-image:hover{transform:scale(1.1,1.1);}
/* 主題四交通工具單元圖片 */
.transprotation-image  img { 
	width: 100%;
	max-width: 400px;
	max-height: 430px;
	object-fit: contain;

}
/* 主題四交通單元標題 */
.vehicletext1 { 
	color: rgba(73.1531274318695, 117.39938959479332, 172.12500303983688, 1);
	width: 215px;
	height: 66px;
	position: absolute;
	left: 50%;
	font-family:'DotGothic16';
	text-align: left;
	font-size: 48px;
	letter-spacing: 0;
	padding: 5rem 0;

}
/* 主題四交通單元內文*/
.vehicletext2 { 
	color: rgba(0, 0, 0, 1);
	width: 384px;
	height: 224px;
	position: absolute;
	left: 50%;
	font-family:"M PLUS Rounded 1c";
	text-align: left;
	font-size: 16px;
	letter-spacing: 0;
	padding: 10rem 0;
}
/* 主題四交通單元圖片框 */

.vehicleimage { 
	background-color:rgba(239.0625, 215.07654547691345, 153.3984375, 1);
	width:840.7944946289062px;
	height:558.586669921875px;
	position:absolute;
	left:1026.8505859375px;
	top:3630.8134765625px;
	border-top-left-radius:120px;
	border-top-right-radius:120px;
	border-bottom-left-radius:120px;
	border-bottom-right-radius:120px;
}
.video-card3{
	box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);
	background-color:rgba(255, 252.87500202655792, 252.87500202655792, 1);
	width:868px;
	height:430px;
	border-top-left-radius:56px;
	border-top-right-radius:56px;
	border-bottom-left-radius:56px;
	border-bottom-right-radius:56px;
}
/* 主題四國家單元圖片框 */
.country-image { 
	width: 40%;
	height: 430px;
	position:absolute;
	margin: 0 20px;
	padding: 60px 0;

}
/* 主題四國家單元圖片 */
.country-image  img { 
	width: 100%;
	max-width: 400px;
	max-height: 430px;
	object-fit: contain;

}
.country-image:hover{transform:scale(1.1,1.1);}

.countrytext1 { 
	color: rgba(90.35677269101143, 166.81249290704727, 150.1490342617035, 1);
	width: 113px;
	height: 63px;
	position: absolute;
	left: 50%;
	padding: 5rem 0;
	font-family: Inter;
	text-align: left;
	font-size: 48px;
	letter-spacing: 0;
	font-family:'DotGothic16';
}
.countrytext2 { 
	color: rgba(0, 0, 0, 1);
	width: 384px;
	height: 224px;
	position: absolute;
	left: 50%;
	font-family:"M PLUS Rounded 1c";
	text-align: left;
	font-size: 16px;
	letter-spacing: 0;
	padding: 10rem 0;
}
.countryimage2 { 
	background-color:rgba(220.68071275949478, 231.62500709295273, 153.45155864953995, 1);
	width:840.7944946289062px;
	height:558.586669921875px;
	position:absolute;
	left:197.418212890625px;
	top:4348.99609375px;
	border-top-left-radius:120px;
	border-top-right-radius:120px;
	border-bottom-left-radius:120px;
	border-bottom-right-radius:120px;
}
.countryimage1{ 
	background-color:rgba(137.96562641859055, 208.24999898672104, 192.93162256479263, 1);
	width:840.7944946289062px;
	height:558.586669921875px;
	position:absolute;
	left:172.80035400390625px;
	top:4319.072265625px;
	border-top-left-radius:120px;
	border-top-right-radius:120px;
	border-bottom-left-radius:120px;
	border-bottom-right-radius:120px;
}


.topic5 { 
	background-color:#cfe3fc;
	width:100%;
	height:1200px;
	position:relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.arvideo {
	margin: 20rem auto;
}
.topic5 img{
	width: 100%;

}
.arbutton{
	display: flex;
  align-content: center;
  justify-content: center;
  padding-top: 20px;
}

/* CSS */
a{
	text-decoration: none;
}
button {
    --button_radius: 0.75em;
    --button_color: #e8e8e8;
    --button_outline_color: #000000;
    font-size: 17px;
    font-weight: bold;
    border: none;
    border-radius: var(--button_radius);
    background: var(--button_outline_color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
}
  
  .button_top {
   display: block;
   box-sizing: border-box;
   border: 2px solid var(--button_outline_color);
   border-radius: var(--button_radius);
   padding: 0.75em 1.5em;
   background: var(--button_color);
   color: var(--button_outline_color);
   transform: translateY(-0.2em);
   transition: transform 0.1s ease;
   width: 100%;
  }
  
  button:hover .button_top {
	/* Pull the button upwards when hovered */
   transform: translateY(-0.33em);
  }
  
  button:active .button_top {
	/* Push the button downwards when pressed */
   transform: translateY(0);
  }


.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.marquee-container {
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: row !important;
    position: relative;
    width: 100%;
}

#topic6 .marquee {
    flex: 0 0 auto;
    min-width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
	animation: scroll var(--duration) linear var(--delay) var(--iteration-count);
    animation-play-state: var(--play);
    animation-delay: var(--delay);
    animation-direction: var(--direction);
}
.marquee.mb-5 {
    --play: running;
    --direction: normal;
    --duration: 98.4s;
    --delay: 0s;
    --iteration-count: infinite;
}
@media screen and (min-width:2500px) {

	.topic5{
		height: 170vh;
	}
}

@media screen and (min-width:2000px) {

	.topic5{
		height: 150vh;
	}

}

.music {
	max-width: 120px;
	max-height: 50px;
	border-radius: 20px;
	background: #f9f9f9cd;
	box-shadow: -20px -20px 60px rgb(245, 254, 255), 20px 20px 40px rgba(98, 100, 100, 0.378);
	padding: 12px;
	margin: 18px;
	padding-left: 20px;
	padding-right: 20px;
	position: fixed;
	bottom: 30px;
	z-index: 1000;
  }
  .music:hover {
	background: rgba(81, 85, 84, 0.683);
	color: #ffffff;
	cursor: pointer;
	box-shadow: 20px 20px 60px rgb(245, 254, 255), -20px -20px 60px rgba(98, 100, 100, 0.378);
  }
  .test-text1 {
    color: rgba(91, 90, 167, 1);
    width: 153px;
    height: 63px;
    position: absolute;
    left: 50%;
    padding: 5rem 0;
    font-family: Inter;
    text-align: left;
    font-size: 48px;
    letter-spacing: 0;
    font-family: 'DotGothic16';
}
.video-card4 {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    background-color: rgba(255, 252.87500202655792, 252.87500202655792, 1);
    width: 868px;
    height: 430px;
    border-top-left-radius: 56px;
    border-top-right-radius: 56px;
    border-bottom-left-radius: 56px;
    border-bottom-right-radius: 56px;
}

.video-card4:hover {
    background: #e7ddf9d1;
    color: #fff;
}
.video-card4:hover .overview p {
	opacity: 1;
	color: #763d9a;
	top: 150rem;
	font-family: 'DotGothic16';

}
  
.test-image { 
	width: 40%;
	height: 430px;
	position:absolute;
	margin: 0 20px;
	padding: 60px 0;

}
.test-image:hover{transform:scale(0.9,0.9);}
/* 主題四交通工具單元圖片 */
.test-image  img { 
	width: 100%;
	max-width: 400px;
	max-height: 430px;
	object-fit: contain;
	border-radius: 10px;

}
